package xmlModel;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAttribute;

public class DBTable implements Serializable {

	private static final long serialVersionUID = 1L;

	private List<DBColumn> columns = new ArrayList<DBColumn>();

	private String name;
	
	public List<DBColumn> getColumns() {
		return columns;
	}

	public void setColumns(List<DBColumn> columns) {
		this.columns = columns;
	}

	public String getName() {
		return name;
	}

	@XmlAttribute
	public void setName(String name) {
		this.name = name;
	}
}
